
/* This program is free software: you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
    the Free Software Foundation, either version 3 of the License, or
    (at your option) any later version.

    This program is distributed in the hope that it will be useful,
    but WITHOUT ANY WARRANTY; without even the implied warranty of
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    GNU General Public License for more details.
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.
*/
package Controlador;
import Modelo.*;

import java.io.File;
import java.util.*;


/**
 * Clase de debug utilizada para hacer pruebas sobre el sistema
 * @author Armando Machuca Llorente
 */
public class PruebasGestores {

	 GestorPlugins prueba1;
	
	public static void main(String args[]){
		GestorPlugins prueba1=new GestorPlugins();
	
		
		/*Plugin pluginprueba = prueba1.cargarPlugin("C:\\Documents and Settings\\admin\\workspace\\AFA\\Plugins\\Camouflagge.xml");		
		Vector plugins=new Vector();
		plugins.add(pluginprueba);
		Plugin p2=prueba1.cargarPlugin("C:\\Documents and Settings\\admin\\workspace\\AFA\\Plugins\\Prueba.xml");
		plugins.add(p2);*/
		/*
		GestorPlugins GP= new GestorPlugins();
		Vector plugins=GP.ListarPlugins();
		
		Vector unidades=new Vector();
		unidades.add("C:\\");
		Analizador a=new Analizador();
		//Analizador a=new Analizador("C:\\",plugins);
		a.setPlugins(plugins);
		a.setUnidades(unidades);
		a.categorizar();
		a.ejecutar(3);
		a.printResultados();
		
		
		
		
		GestorInformes g=new GestorInformes();
		g.escribirInformeXML("prueba_inf.xml", plugins);
		GestorInformesPDF gr=new GestorInformesPDF();
		gr.escribirInformePDF("prueba_inf.pdf", a);
		boolean result_firmar=gr.firmarInforme("prueba_inf.pdf", "prueba_inf.pdf", "C:\\Documents and Settings\\admin\\workspace\\AFA\\name-cert.p12", "temporal");
		*/
                
		//a.ejecutar(3);
		
		
		
		//System.out.println(Hash.getMD5("C:\\Armando\\avc_guia_paris.pdf"));
		//Hash.getSHA("C:\\Program Files\\Dia\\bin\\diaw.exe");
		
	}
	
	
}
